//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package ciicos.views.model.viewsproject;

import ciicos.views.model.viewshmi.ViewsHmiInfoVO;
import com.alibaba.fastjson.JSONArray;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import java.util.Map;

public class ViewsProjectVO {
    @JsonProperty("version")
    private String version;
    @JsonProperty("devices")
    private Object devices;
    @JsonProperty("server")
    private Object server;
    @JsonProperty("notifications")
    private JSONArray notifications;
    @JsonProperty("charts")
    private JSONArray charts;
    @JsonProperty("graphs")
    private JSONArray graphs;
    @JsonProperty("plugin")
    private JSONArray plugin;
    @JsonProperty("alarms")
    private JSONArray alarms;
    @JsonProperty("reports")
    private JSONArray reports;
    @JsonProperty("texts")
    private JSONArray texts;
    @JsonProperty("scripts")
    private JSONArray scripts;
    @JsonProperty("hmi")
    private Map<String, List<ViewsHmiInfoVO>> hmi;

    public String getVersion() {
        return this.version;
    }

    public Object getDevices() {
        return this.devices;
    }

    public Object getServer() {
        return this.server;
    }

    public JSONArray getNotifications() {
        return this.notifications;
    }

    public JSONArray getCharts() {
        return this.charts;
    }

    public JSONArray getGraphs() {
        return this.graphs;
    }

    public JSONArray getPlugin() {
        return this.plugin;
    }

    public JSONArray getAlarms() {
        return this.alarms;
    }

    public JSONArray getReports() {
        return this.reports;
    }

    public JSONArray getTexts() {
        return this.texts;
    }

    public JSONArray getScripts() {
        return this.scripts;
    }

    public Map<String, List<ViewsHmiInfoVO>> getHmi() {
        return this.hmi;
    }

    @JsonProperty("version")
    public void setVersion(String version) {
        this.version = version;
    }

    @JsonProperty("devices")
    public void setDevices(Object devices) {
        this.devices = devices;
    }

    @JsonProperty("server")
    public void setServer(Object server) {
        this.server = server;
    }

    @JsonProperty("notifications")
    public void setNotifications(JSONArray notifications) {
        this.notifications = notifications;
    }

    @JsonProperty("charts")
    public void setCharts(JSONArray charts) {
        this.charts = charts;
    }

    @JsonProperty("graphs")
    public void setGraphs(JSONArray graphs) {
        this.graphs = graphs;
    }

    @JsonProperty("plugin")
    public void setPlugin(JSONArray plugin) {
        this.plugin = plugin;
    }

    @JsonProperty("alarms")
    public void setAlarms(JSONArray alarms) {
        this.alarms = alarms;
    }

    @JsonProperty("reports")
    public void setReports(JSONArray reports) {
        this.reports = reports;
    }

    @JsonProperty("texts")
    public void setTexts(JSONArray texts) {
        this.texts = texts;
    }

    @JsonProperty("scripts")
    public void setScripts(JSONArray scripts) {
        this.scripts = scripts;
    }

    @JsonProperty("hmi")
    public void setHmi(Map<String, List<ViewsHmiInfoVO>> hmi) {
        this.hmi = hmi;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof ViewsProjectVO)) {
            return false;
        } else {
            ViewsProjectVO other = (ViewsProjectVO)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                Object this$version = this.getVersion();
                Object other$version = other.getVersion();
                if (this$version == null) {
                    if (other$version != null) {
                        return false;
                    }
                } else if (!this$version.equals(other$version)) {
                    return false;
                }

                Object this$devices = this.getDevices();
                Object other$devices = other.getDevices();
                if (this$devices == null) {
                    if (other$devices != null) {
                        return false;
                    }
                } else if (!this$devices.equals(other$devices)) {
                    return false;
                }

                Object this$server = this.getServer();
                Object other$server = other.getServer();
                if (this$server == null) {
                    if (other$server != null) {
                        return false;
                    }
                } else if (!this$server.equals(other$server)) {
                    return false;
                }

                Object this$notifications = this.getNotifications();
                Object other$notifications = other.getNotifications();
                if (this$notifications == null) {
                    if (other$notifications != null) {
                        return false;
                    }
                } else if (!this$notifications.equals(other$notifications)) {
                    return false;
                }

                Object this$charts = this.getCharts();
                Object other$charts = other.getCharts();
                if (this$charts == null) {
                    if (other$charts != null) {
                        return false;
                    }
                } else if (!this$charts.equals(other$charts)) {
                    return false;
                }

                Object this$graphs = this.getGraphs();
                Object other$graphs = other.getGraphs();
                if (this$graphs == null) {
                    if (other$graphs != null) {
                        return false;
                    }
                } else if (!this$graphs.equals(other$graphs)) {
                    return false;
                }

                Object this$plugin = this.getPlugin();
                Object other$plugin = other.getPlugin();
                if (this$plugin == null) {
                    if (other$plugin != null) {
                        return false;
                    }
                } else if (!this$plugin.equals(other$plugin)) {
                    return false;
                }

                Object this$alarms = this.getAlarms();
                Object other$alarms = other.getAlarms();
                if (this$alarms == null) {
                    if (other$alarms != null) {
                        return false;
                    }
                } else if (!this$alarms.equals(other$alarms)) {
                    return false;
                }

                Object this$reports = this.getReports();
                Object other$reports = other.getReports();
                if (this$reports == null) {
                    if (other$reports != null) {
                        return false;
                    }
                } else if (!this$reports.equals(other$reports)) {
                    return false;
                }

                Object this$texts = this.getTexts();
                Object other$texts = other.getTexts();
                if (this$texts == null) {
                    if (other$texts != null) {
                        return false;
                    }
                } else if (!this$texts.equals(other$texts)) {
                    return false;
                }

                Object this$scripts = this.getScripts();
                Object other$scripts = other.getScripts();
                if (this$scripts == null) {
                    if (other$scripts != null) {
                        return false;
                    }
                } else if (!this$scripts.equals(other$scripts)) {
                    return false;
                }

                Object this$hmi = this.getHmi();
                Object other$hmi = other.getHmi();
                if (this$hmi == null) {
                    if (other$hmi != null) {
                        return false;
                    }
                } else if (!this$hmi.equals(other$hmi)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof ViewsProjectVO;
    }

    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        Object $version = this.getVersion();
        result = result * 59 + ($version == null ? 43 : $version.hashCode());
        Object $devices = this.getDevices();
        result = result * 59 + ($devices == null ? 43 : $devices.hashCode());
        Object $server = this.getServer();
        result = result * 59 + ($server == null ? 43 : $server.hashCode());
        Object $notifications = this.getNotifications();
        result = result * 59 + ($notifications == null ? 43 : $notifications.hashCode());
        Object $charts = this.getCharts();
        result = result * 59 + ($charts == null ? 43 : $charts.hashCode());
        Object $graphs = this.getGraphs();
        result = result * 59 + ($graphs == null ? 43 : $graphs.hashCode());
        Object $plugin = this.getPlugin();
        result = result * 59 + ($plugin == null ? 43 : $plugin.hashCode());
        Object $alarms = this.getAlarms();
        result = result * 59 + ($alarms == null ? 43 : $alarms.hashCode());
        Object $reports = this.getReports();
        result = result * 59 + ($reports == null ? 43 : $reports.hashCode());
        Object $texts = this.getTexts();
        result = result * 59 + ($texts == null ? 43 : $texts.hashCode());
        Object $scripts = this.getScripts();
        result = result * 59 + ($scripts == null ? 43 : $scripts.hashCode());
        Object $hmi = this.getHmi();
        result = result * 59 + ($hmi == null ? 43 : $hmi.hashCode());
        return result;
    }

    public String toString() {
        return "ViewsProjectVO(version=" + this.getVersion() + ", devices=" + this.getDevices() + ", server=" + this.getServer() + ", notifications=" + this.getNotifications() + ", charts=" + this.getCharts() + ", graphs=" + this.getGraphs() + ", plugin=" + this.getPlugin() + ", alarms=" + this.getAlarms() + ", reports=" + this.getReports() + ", texts=" + this.getTexts() + ", scripts=" + this.getScripts() + ", hmi=" + this.getHmi() + ")";
    }
}
